projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c6e079a
)
Fix NS toolbar identifier (bug#54326)
author
Alan Third
<alan@idiocy.org>
Thu, 10 Mar 2022 21:23:55 +0000
(21:23 +0000)
committer
Alan Third
<alan@idiocy.org>
Thu, 10 Mar 2022 21:23:55 +0000
(21:23 +0000)
* src/nsterm.m ([EmacsWindow createToolbar:]): Set the identifier to
something that will always be unique to that frame.
src/nsterm.m
patch
|
blob
|
history
diff --git
a/src/nsterm.m
b/src/nsterm.m
index 4adb13706d97da20897baa94de1cad6b28c21711..fd56094c28b4a8e18d2946b259353088743980cd 100644
(file)
--- a/
src/nsterm.m
+++ b/
src/nsterm.m
@@
-8390,7
+8390,7
@@
not_in_argv (NSString *arg)
EmacsToolbar *toolbar = [[EmacsToolbar alloc]
initForView:view
- withIdentifier:[NSString stringWith
LispString:f->name
]];
+ withIdentifier:[NSString stringWith
Format:@"%p", f
]];
[self setToolbar:toolbar];
update_frame_tool_bar_1 (f, toolbar);